package com.wangdao.wechatmall.bean.vo.admin;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author ShuiYi
 * @time 2021-07-09 16:18
 */
@Data
public class StorageCreateVO {

    /**
     * id : 227
     * key : a2f4nw9gaykr9ulr8o1e.jpg
     * name : jiejie.jpg
     * type : image/jpeg
     * size : 17971
     * url : http://182.92.235.201:8083/wx/storage/fetch/a2f4nw9gaykr9ulr8o1e.jpg
     * addTime : 2021-07-09 16:16:18
     * updateTime : 2021-07-09 16:16:18
     */

    private Integer id;
    private String key;
    private String name;
    private String type;
    private Integer size;
    private String url;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;


}
